﻿namespace IDal
{
    public interface IStuDal<T>
    {
        Task<int> AddAnync(T t);

        Task<int> AddRangAnync(List<T>list);
        Task<int> DeleteAnync(T t);

        Task<int> DeleteRangeAnync(List<T> list);
        Task<int> UpdateAnync(T t);

        Task<int> UpdateRangeAnync(List<T> list);
        IQueryable<T> GetValues();

    }
}
